package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDAO {
        void insertStudent(Student student);
        void insertAll(List<Student> studentList);

        void deletestudent(Student student);
        void deleteAll(List<Student> studentList);
        void deleteBySnum(String snum);

        void modifyStudent(Student student);

        Student queryOneStudent(Student student);
        Student queryOneStudentBySnum(String snum);
        List<Student> queryAll();

}
